SftTree/OCX 7.0

SftTreeItems.Cell3D Property

Softel vdm, Inc.

Defines whether cells are painted using a 3D effect.

Syntax       

Get

VB.NET

Boolean = object.Cell3D  As Boolean

VB

Boolean = object.Cell3D  As Boolean

C#.NET

bool Boolean = object.Cell3D;

VC++

VARIANT_BOOL Boolean = object->Cell3D;
VARIANT_BOOL Boolean = object->GetCell3D();

C

HRESULT object->get_Cell3D(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.Cell3D   : WordBool;

Put

VB.NET

object.Cell3D = Boolean  As Boolean

VB

object.Cell3D = Boolean  As Boolean

C#.NET

bool object.Cell3D = Boolean;

VC++

VARIANT_BOOL object->Cell3D = Boolean;
void object->PutCell3D(VARIANT_BOOL Boolean);

C

HRESULT object->put_Cell3D(VARIANT_BOOL Boolean);

Delphi

object.Cell3D := Boolean   : WordBool;

object

A SftTreeItems object.

Boolean

Defines whether cells are painted using a 3D effect.

Boolean

Description

True

Cells are painted using a 3D effect.

False

Cells are painted without 3D effect.

Comments

The Cell3D property defines whether cells are painted using a 3D effect.

If 3D rendering is chosen, the color properties Items.ShadowColor and Items.HilightColor are used to display dark and highlighted edges around the items.  The Items.BackColor and Items.ForeColor properties may have to be adjusted to allow for the proper contrast between all color properties involved.  In design-mode, the Items.BackColor and Items.ForeColor properties are adjusted automatically.

If the Cell3D property is set to True, only the text portion of selected items is highlighted, never the entire item, i.e., the Items.SelectStyle property is ignored. 

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com